#include<stdio.h>
#include"define.h"
void add_student(students dai1[], int* n)
{
	printf("Enter the student name:");
	scanf("%s", (dai1[*n].name));
	printf("Enter the age:");
	scanf("%d", &(dai1[*n].age));
	printf("Enter the regnumber:");
	scanf("%d", &(dai1[*n].regnumber));
	printf("Enter the group:");
	scanf("%s", dai1[*n].group);
	printf("Student %d added\n",*n);
	printf("Total students %d\n",*n);
	(*n)++;
}
